<#assign ctx = request.contextPath />
<#macro paint name>
<div class="suosou">   
      <table width="100%" border="0" cellspacing="0" cellpadding="0" >
                     <tr >
                   <td width="80" height="30" align="left">商品名称:
                   </td>
                   <td width="240" height="30" align="left"><input id="${name}_goodsName" name="${name}_goodsName" type="text" size="30" class="autoComplete" url="${ctx}/common/autocomplete!matchOwnerGoodsNameById.action" />
                   </td>
                   <#if portal=='chainhqstore'>
	                   <td width="80" height="30" align="left">登记方:
	                   </td>
	                   <td  height="30" align="left">
	                   <!--
	                   <input class="easyui-validatebox" id="${name}_reporterName" name="${name}_reporterName" type="text" size="40"/>
	                   -->
	                   <input  id="${name}_reporterName" name="${name}_reporterName" type="text" size="40" class="autoComplete" url="${ctx}/common/autocomplete!matchOwnerreporterName.action" />
	                   </td>
                   </#if >
                   <#if portal=='supplier'>
	                   <td width="80" height="30" align="left">登记方:
	                   </td>
	                   <td  height="30" align="left">
	                   <!--
	                   <input class="easyui-validatebox" id="${name}_reporterName" name="${name}_reporterName" type="text" size="40"/>
	                   -->
	                   <input  id="${name}_reporterName" name="${name}_reporterName" type="text" size="40" class="autoComplete" url="${ctx}/common/autocomplete!matchChainHeadquartersName.action" />
	                   </td>
                   </#if >
                    <#if portal=='chainhq'>
	                     <td width="80" height="30" align="left">供货商:
	                   </td>
	                   <td  height="30" align="left">
	                    <!--
	                 	<@s.select id="${name}_payerId" name="${name}_payerId" list="supplierList" listKey="id" listValue="name" />
	                 	-->
	                 	<input id="${name}_supplierName" name="${name}_supplierName" type="text" size="30" class="autoComplete" url="${ctx}/common/autocomplete!matchOwnerDamageSupplierName.action" />
	                   </td>
                   </#if >
                   <#if portal=='logistics'>
	                   <td width="80" height="30" align="left">赔偿方:
	                   </td>
	                   <td  height="30" align="left">
	                   <!--
	                   <@s.select id="${name}_payerId" name="${name}_payerId" list="headquarterList" listKey="id" listValue="name" />
	                  	<input id="${name}_chainHeadquartersName" name="${name}_chainHeadquartersName" type="text" size="30" class="autoComplete" url="${ctx}/common/autocomplete!matchChainHeadquartersName.action" />
	                   -->
	                  	<input id="${name}_payerName" name="${name}_payerName" type="text" size="30" class="autoComplete" url="${ctx}/common/autocomplete!matchOwnerPayer.action" />
	                   </td>
                   </#if >
                   <td   height="30" align="left"><input type=button value="查询" class="tj_1"  onClick="CheckDamage.${name}_btnQuery()"  name="${name}_btnQuery" id="${name}_btnQuery"/></td>
                </tr>
	
       </table>
</div>
</#macro>
 